/**
 * @type {String}
 *
 * @properties={typeid:35,uuid:"14B8E238-23F9-49D0-ABEE-2A00EFA77153"}
 */
var fDescripcion = null;


/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"7DDE2B35-42B7-4F7E-8B17-DA59523014DD"}
 */
function iraDetalle(event) {
	globals.formEnVentana('param_usr_modificacion_dtl','PARAM_USR','Modifique la variable')
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"94F5A0DE-4955-4669-A57A-268D412A991A"}
 * @AllowToRunInFind
 */
function buscar(event) {
	controller.find()
	
	solucion = application.getSolutionName()
	descripcion_corta = '#%' + fDescripcion+ '%'
	
	controller.search()
}

/**
 * Callback method for when form is shown.
 *
 * @param {Boolean} firstShow form is shown first time after load
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"FC17539D-A89A-43DD-8144-EFCAD6DF334A"}
 * @AllowToRunInFind
 */
function onShow(firstShow, event) {
	controller.find()
	
	solucion = application.getSolutionName()
	
	controller.search()
}

/**
 * Callback method when form is (re)loaded.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"805FAA1E-300C-4D93-BDD8-E45F6B21B136"}
 */
function onLoad(event) {
	databaseManager.addTableFilterParam('fwk_navigation_infocom','param_usr','userv_id','=',globals.gUservID,'FILTRO_PARAM')
}
